package com.example.srm.auth.mapper;

import com.example.srm.domain.TRole;
import com.example.srm.domain.TUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @Entity com.example.srm.domain.TUserRole
 */
public interface TUserRoleMapper extends BaseMapper<TUserRole> {

    List<TRole> getRolesByUserId(String id);
}




